package org.qqcui.designpattern.patterns.decorator.component;

/**
 * 咖啡类，继承自饮料抽象类
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/4/29 10:45
 **/
public class Coffee extends Drink {
    @Override
    public float cost() {
        return super.getPrice();
    }
}
